//LedPortA

#include<p18F4520.h>
#include <delays.h>

void main()
{
  PORTA = 0x00;
  TRISA = 0b00000000;
  
  while(1)
  {
    PORTAbits.RA0 = 1;
    Delay10KTCYx(200);
    PORTAbits.RA0 = 0;
    Delay10KTCYx(200);

    PORTAbits.RA1 = 1;
    Delay10KTCYx(200);
    PORTAbits.RA1 = 0;
    Delay10KTCYx(200);
    
    PORTAbits.RA2 = 1;
    Delay10KTCYx(200);
    PORTAbits.RA2 = 0;
    Delay10KTCYx(200);
    
    PORTAbits.RA3 = 1;
    Delay10KTCYx(200);
    PORTAbits.RA3 = 0;
    Delay10KTCYx(200);
  }
}